package br.com.os2.pacemark.main;

import br.com.os2.pacemark.gui.Acesso;
import br.com.os2.pacemark.gui.Menu;
import javax.swing.UIManager;

/**
 *
 * @author Daniel
 *
 */
public class PaceMark {

    public static void main(String args[]) {
        
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {

            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Menu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Menu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Menu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Menu.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        Acesso acesso = new Acesso();
        
        acesso.setTitle("Acesso");
       
        acesso.setIconImage(new javax.swing.ImageIcon(acesso.getClass()
                                                    .getResource("/imagens/icone.png")).getImage());
        
        acesso.setVisible(true);
       
    }

}
